package day08;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        int[] array = new int[100];
        Scanner scanner = new Scanner(System.in);
        int i = 0,sum = 0;
        while(true){
            int score = scanner.nextInt();
            if(score >= 0){
                array[i] = score;
                sum += score;
                i++;
            }else{
                break;
            }
        }
        double avg = 1.0* sum / i;
        int high = 0,low = 0;
        for(int j = 0; j < i; j++){
            if(array[j] > avg){
                high++;
            }else{
                low++;
            }
        }
        System.out.println("高于平均分的人数为：" + high + "，低于平均分的人数为："+low);
    }
}